# coding=utf-8
# MySQL-Python
#     mysql+mysqldb://<user>:<password>@<host>[:<port>]/<dbname>
# pymysql
#     mysql+pymysql://<username>:<password>@<host>/<dbname>[?<options>]
# MySQL-Connector
#     mysql+mysqlconnector://<user>:<password>@<host>[:<port>]/<dbname>
# cx_Oracle
#     oracle+cx_oracle://user:pass@host:port/dbname[?key=value&key=value...]
USERNAME = 'root'
PASSWORD = 'LSP123@asppj.top'
DBHOST = 'server.asppj.top'
PORT = '3306'
DATABASE = 'db_test'
DB_URI = 'mysql+pymysql://{}:{}@{}/{}?charset=utf8'.format(USERNAME, PASSWORD, DBHOST, DATABASE)
# DB_URI = 'mysql+mysqldb://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, DBHOST,PORT, DATABASE)
SQLALCHEMY_DATABASE_URI = DB_URI
SQLALCHEMY_TRACK_MODIFICATIONS = True
